.desktop-download {
  max-width: 350px;
}

.desktop-download.compact {
  max-width: none;
}

.desktop-download.compact .btn {
  white-space: normal; /* Allow text wrapping */
  text-align: center;
  line-height: 1.3;
  min-height: 2.5rem; /* Ensure consistent button height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.desktop-download.compact .text-muted {
  font-size: 0.75rem;
  text-align: center;
}

.desktop-download.span-variant {
  max-width: none;
}

.desktop-download.span-variant a {
  color: inherit !important;
  text-decoration: none !important;
  position: relative;
  z-index: 10;
}

.desktop-download.span-variant a:hover {
  color: inherit !important;
  opacity: 0.8;
}

.desktop-download.span-variant .d-flex {
  pointer-events: auto;
}

.desktop-download .btn {
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: normal; /* Allow text wrapping on all buttons */
  text-align: center;
  line-height: 1.3;
}

.desktop-download .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.desktop-download .badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.desktop-download .text-muted a:hover {
  text-decoration: underline !important;
}

.desktop-download .spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

.desktop-download .fab,
.desktop-download .fas,
.desktop-download .far {
  min-width: 1.2rem;
}

/* Dark mode support - removed custom colors to use app defaults */

@media (max-width: 768px) {
  .desktop-download.full {
    max-width: 100%;
  }
  
  .desktop-download.full .btn {
    width: 100%;
    justify-content: center;
  }
  
  .desktop-download.full h5 {
    font-size: 1.1rem;
  }
  
  .desktop-download.compact .btn {
    font-size: 0.875rem;
  }
}
